package com.jule.miaozhuapc.dao;

import com.jule.miaozhuapc.domain.WawaRecharge;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.Repository;


public interface RechargeDao extends Repository<RechargeDao, Long> {

    /**
     *  查询今日最大的订单号
     * @return
     */
    public WawaRecharge findMaxRecharge();

    public WawaRecharge insert(WawaRecharge wawaRecharge);

    /**
     *  订单号查
     * @param orderNo
     * @return
     */
    public WawaRecharge findbyOrderNo(String orderNo);

    public  WawaRecharge update(WawaRecharge wawaRecharge);
}
